package com.lanchetech.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 盲盒表
 *
 * @TableName blind_box
 */
@Data
@ApiModel(value = "com.lanchetech.entity.BlindBox")
@NoArgsConstructor
@AllArgsConstructor
public class BlindBox implements Serializable {


    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String title;

    /**
     * 主图
     */
    @ApiModelProperty(value = "主图")
    private String image;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 规则
     */
    @ApiModelProperty(value = "规则")
    private String rule;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date created;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private Date updated;

    /**
     * 审核时间
     */
    @ApiModelProperty(value = "审核时间")
    private Date verifyTime;

    /**
     * 审核状态  (1:待审核  2:审核通过 3:审核失败)
     */
    @ApiModelProperty(value = "审核状态  (1:待审核  2:审核通过 3:审核失败)")
    private Byte status;

    /**
     * 开启/禁用   false 关闭  true 开启
     */
    @ApiModelProperty(value = "开启/禁用   false 关闭  true 开启")
    private boolean whether;

    /**
     * 平台服务费率
     */
    @ApiModelProperty(value = "平台服务费率")
    private BigDecimal serviceRate;

    /**
     * 销售价格
     */
    @ApiModelProperty(value = "销售价格")
    private BigDecimal sellingPrice;

    /**
     * 是否删除
     */
    @ApiModelProperty(value = "是否删除 false 未删除  true 已删除")
    private boolean deleted;

    private List<BlindBoxPrize> blindBoxPrizes;


    private static final long serialVersionUID = 1L;

}